package com.cdut.hwadeefsc.service;

import com.cdut.hwadeefsc.entity.activities; // 引用修改后的实体类
import java.util.List;

public interface activitiesService { // 接口名首字母大写
    List<activities> getActivitiesByClassId(Long classId); // 参数类型改为Long（与Controller匹配）
    List<activities> getAllActivities();
    List<activities> getActivitiesByStudentId(Long studentId); // 参数类型改为Long
    List<activities> getActivitiesByStatus(String status);
    activities getActivityById(Long id); // 参数类型改为Long
    boolean addActivity(activities activity);
    boolean updateActivity(activities activity);
    boolean deleteActivity(Long id); // 参数类型改为Long
}

